<!DOCTYPE html>
<html lang="zh-CN">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>寻找专业摄影师拍摄产品宣传照 | SocialHub</title>
    <link href="https://cdn.jsdelivr.net/npm/bootstrap@5.3.0/dist/css/bootstrap.min.css" rel="stylesheet">
    <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.0/css/all.min.css">
    <style>
        :root {
            --primary: #4361ee;
            --primary-light: #eef0ff;
            --primary-dark: #3a0ca3;
            --secondary: #f72585;
            --accent: #4cc9f0;
            --light: #f8f9fa;
            --dark: #212529;
            --gray: #6c757d;
            --light-gray: #e9ecef;
            --success: #38b000;
            --warning: #ffaa00;
        }
        
        body {
            font-family: 'Inter', system-ui, -apple-system, sans-serif;
            background-color: #f5f7ff;
            color: var(--dark);
            line-height: 1.6;
        }
        
        .navbar {
            background-color: white;
            box-shadow: 0 2px 15px rgba(0,0,0,0.05);
            padding: 0.75rem 1rem;
        }
        
        .logo {
            font-size: 1.5rem;
            font-weight: 700;
            color: var(--primary);
            text-decoration: none;
            display: flex;
            align-items: center;
            gap: 0.5rem;
        }
        
        .search-container {
            max-width: 600px;
            width: 100%;
        }
        
        .main-container {
            padding: 2rem 0;
        }
        
        .section-title {
            font-size: 1.75rem;
            font-weight: 700;
            margin-bottom: 1.5rem;
            color: var(--primary-dark);
        }
        
        .card {
            background-color: white;
            border-radius: 10px;
            box-shadow: 0 2px 10px rgba(0,0,0,0.05);
            overflow: hidden;
            margin-bottom: 1.5rem;
            border: none;
        }
        
        .card-header {
            padding: 1.25rem 1.5rem;
            border-bottom: 1px solid var(--light-gray);
            background-color: white;
        }
        
        .card-body {
            padding: 1.5rem;
        }
        
        .card-footer {
            padding: 1rem 1.5rem;
            border-top: 1px solid var(--light-gray);
            background-color: white;
        }
        
        .demand-header {
            margin-bottom: 1.5rem;
        }
        
        .demand-title {
            font-size: 1.75rem;
            font-weight: 700;
            margin-bottom: 1rem;
            color: var(--dark);
        }
        
        .status-badge {
            display: inline-block;
            padding: 0.25rem 0.75rem;
            border-radius: 20px;
            font-size: 0.85rem;
            font-weight: 500;
        }
        
        .status-active {
            background-color: rgba(56, 176, 0, 0.1);
            color: var(--success);
        }
        
        .status-pending {
            background-color: rgba(255, 170, 0, 0.1);
            color: var(--warning);
        }
        
        .status-completed {
            background-color: var(--primary-light);
            color: var(--primary);
        }
        
        .author-info {
            display: flex;
            align-items: center;
            gap: 1rem;
            margin-bottom: 1.5rem;
        }
        
        .author-avatar {
            width: 50px;
            height: 50px;
            border-radius: 50%;
            object-fit: cover;
        }
        
        .author-details {
            flex: 1;
        }
        
        .author-name {
            font-weight: 600;
            font-size: 1.1rem;
            margin-bottom: 0.25rem;
        }
        
        .post-meta {
            color: var(--gray);
            font-size: 0.9rem;
        }
        
        .contact-btn {
            background-color: var(--primary);
            color: white;
            border: none;
            border-radius: 6px;
            padding: 0.5rem 1.25rem;
            font-weight: 600;
            cursor: pointer;
            display: flex;
            align-items: center;
            gap: 0.5rem;
            transition: background-color 0.2s;
        }
        
        .contact-btn:hover {
            background-color: var(--primary-dark);
        }
        
        .demand-gallery {
            margin-bottom: 1.5rem;
            border-radius: 8px;
            overflow: hidden;
        }
        
        .main-image {
            width: 100%;
            height: 400px;
            object-fit: cover;
            margin-bottom: 0.5rem;
        }
        
        .thumbnail-images {
            display: flex;
            gap: 0.5rem;
            overflow-x: auto;
            padding-bottom: 0.5rem;
        }
        
        .thumbnail {
            width: 80px;
            height: 80px;
            object-fit: cover;
            border-radius: 4px;
            cursor: pointer;
            opacity: 0.8;
            transition: all 0.2s;
        }
        
        .thumbnail:hover, .thumbnail.active {
            opacity: 1;
            border: 2px solid var(--primary);
        }
        
        .demand-description {
            font-size: 1.05rem;
            line-height: 1.8;
            margin-bottom: 2rem;
        }
        
        .demand-meta {
            background-color: var(--light);
            border-radius: 8px;
            padding: 1.25rem;
            margin-bottom: 2rem;
        }
        
        .meta-row {
            display: flex;
            flex-wrap: wrap;
            margin-bottom: 1rem;
        }
        
        .meta-item {
            flex: 1;
            min-width: 200px;
            margin-bottom: 0.75rem;
        }
        
        .meta-label {
            font-weight: 500;
            color: var(--gray);
            font-size: 0.9rem;
            margin-bottom: 0.25rem;
        }
        
        .meta-value {
            font-weight: 600;
        }
        
        .tags-container {
            display: flex;
            flex-wrap: wrap;
            gap: 0.75rem;
            margin-bottom: 2rem;
        }
        
        .tag {
            background-color: var(--primary-light);
            color: var(--primary);
            padding: 0.35rem 1rem;
            border-radius: 20px;
            font-size: 0.9rem;
            text-decoration: none;
            transition: all 0.2s;
        }
        
        .tag:hover {
            background-color: var(--primary);
            color: white;
        }
        
        .action-buttons {
            display: flex;
            flex-wrap: wrap;
            gap: 1rem;
            margin-bottom: 2rem;
        }
        
        .action-btn {
            display: flex;
            align-items: center;
            gap: 0.5rem;
            padding: 0.65rem 1.5rem;
            border-radius: 6px;
            font-weight: 600;
            cursor: pointer;
            transition: all 0.2s;
            border: none;
        }
        
        .primary-action {
            background-color: var(--primary);
            color: white;
        }
        
        .primary-action:hover {
            background-color: var(--primary-dark);
        }
        
        .secondary-action {
            background-color: white;
            color: var(--dark);
            border: 1px solid var(--light-gray);
        }
        
        .secondary-action:hover {
            background-color: var(--light);
        }
        
        .icon-action {
            background: none;
            border: none;
            color: var(--gray);
            padding: 0.65rem;
            border-radius: 6px;
            cursor: pointer;
            transition: all 0.2s;
        }
        
        .icon-action:hover {
            background-color: var(--primary-light);
            color: var(--primary);
        }
        
        .icon-action.liked {
            color: var(--secondary);
        }
        
        .icon-action.saved {
            color: var(--primary);
        }
        
        .comments-section {
            margin-top: 2rem;
        }
        
        .comments-header {
            display: flex;
            justify-content: space-between;
            align-items: center;
            margin-bottom: 1.5rem;
        }
        
        .comments-title {
            font-size: 1.5rem;
            font-weight: 700;
            color: var(--primary-dark);
        }
        
        .comments-count {
            color: var(--gray);
            font-size: 0.95rem;
        }
        
        .comment-form {
            margin-bottom: 2rem;
        }
        
        .comment-input-container {
            display: flex;
            gap: 1rem;
        }
        
        .comment-avatar {
            width: 40px;
            height: 40px;
            border-radius: 50%;
            object-fit: cover;
        }
        
        .comment-input {
            flex: 1;
        }
        
        .form-control:focus {
            border-color: var(--primary);
            box-shadow: 0 0 0 3px rgba(67, 97, 238, 0.1);
        }
        
        .submit-comment {
            background-color: var(--primary);
            color: white;
            border: none;
            border-radius: 6px;
            padding: 0.5rem 1.5rem;
            font-weight: 600;
            cursor: pointer;
            transition: background-color 0.2s;
            margin-top: 0.75rem;
        }
        
        .submit-comment:hover {
            background-color: var(--primary-dark);
        }
        
        .comment-list {
            margin-bottom: 2rem;
        }
        
        .comment-item {
            padding: 1.25rem 0;
            border-bottom: 1px solid var(--light-gray);
        }
        
        .comment-item:last-child {
            border-bottom: none;
        }
        
        .comment-header {
            display: flex;
            justify-content: space-between;
            margin-bottom: 0.75rem;
        }
        
        .comment-author {
            display: flex;
            align-items: center;
            gap: 0.75rem;
        }
        
        .comment-author-name {
            font-weight: 600;
            font-size: 0.95rem;
        }
        
        .comment-time {
            color: var(--gray);
            font-size: 0.85rem;
        }
        
        .comment-content {
            margin-bottom: 0.75rem;
            line-height: 1.6;
        }
        
        .comment-actions {
            display: flex;
            gap: 1.5rem;
        }
        
        .comment-action {
            color: var(--gray);
            font-size: 0.9rem;
            cursor: pointer;
            display: flex;
            align-items: center;
            gap: 0.35rem;
            transition: color 0.2s;
        }
        
        .comment-action:hover {
            color: var(--primary);
        }
        
        .comment-action.liked {
            color: var(--secondary);
        }
        
        .reply-form {
            margin-top: 1rem;
            margin-bottom: 1rem;
            padding-left: 2.5rem;
        }
        
        .replies-container {
            margin-left: 2.5rem;
            margin-top: 1rem;
        }
        
        .reply-item {
            padding: 1rem 0;
            border-bottom: 1px solid var(--light-gray);
        }
        
        .reply-item:last-child {
            border-bottom: none;
        }
        
        .similar-demands {
            margin-top: 3rem;
        }
        
        .similar-title {
            font-size: 1.5rem;
            font-weight: 700;
            margin-bottom: 1.5rem;
            color: var(--primary-dark);
        }
        
        .similar-cards {
            display: grid;
            grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
            gap: 1.5rem;
        }
        
        .similar-card {
            transition: transform 0.2s, box-shadow 0.2s;
        }
        
        .similar-card:hover {
            transform: translateY(-5px);
            box-shadow: 0 10px 20px rgba(0,0,0,0.1);
        }
        
        .similar-image {
            width: 100%;
            height: 160px;
            object-fit: cover;
            border-radius: 8px 8px 0 0;
        }
        
        .similar-content {
            padding: 1rem;
        }
        
        .similar-card-title {
            font-weight: 600;
            margin-bottom: 0.5rem;
            line-height: 1.4;
            display: -webkit-box;
            -webkit-line-clamp: 2;
            -webkit-box-orient: vertical;
            overflow: hidden;
        }
        
        .similar-meta {
            display: flex;
            justify-content: space-between;
            color: var(--gray);
            font-size: 0.85rem;
        }
        
        @media (max-width: 768px) {
            .search-container {
                order: 3;
                margin-top: 1rem;
                width: 100%;
                max-width: none;
            }
            
            .navbar-nav {
                margin-top: 1rem;
            }
            
            .main-image {
                height: 250px;
            }
            
            .demand-title {
                font-size: 1.5rem;
            }
            
            .action-buttons {
                gap: 0.75rem;
            }
            
            .action-btn {
                padding: 0.5rem 1rem;
                font-size: 0.9rem;
            }
            
            .meta-item {
                min-width: 100%;
            }
            
            .replies-container {
                margin-left: 1rem;
            }
            
            .reply-form {
                padding-left: 1rem;
            }
        }
    </style>
</head>
<body>
    <!-- 导航栏 -->
    <nav class="navbar navbar-expand-lg">
        <div class="container">
            <a href="#" class="logo">
                <i class="fas fa-handshake"></i>
                SocialHub
            </a>
            
            <button class="navbar-toggler" type="button" data-bs-toggle="collapse" data-bs-target="#navbarNav">
                <span class="navbar-toggler-icon"></span>
            </button>
            
            <div class="search-container mx-3">
                <div class="input-group">
                    <span class="input-group-text bg-transparent border-right-0">
                        <i class="fas fa-search text-gray-400"></i>
                    </span>
                    <input type="text" class="form-control border-left-0" placeholder="搜索需求、服务或关键词...">
                </div>
            </div>
            
            <div class="collapse navbar-collapse" id="navbarNav">
                <ul class="navbar-nav ms-auto align-items-center gap-3">
                    <li class="nav-item">
                        <button class="btn btn-primary">
                            <i class="fas fa-plus me-1"></i> 发布需求
                        </button>
                    </li>
                    <li class="nav-item">
                        <img src="https://picsum.photos/100/100?random=1" alt="用户头像" class="rounded-circle" style="width: 38px; height: 38px; object-fit: cover;">
                    </li>
                </ul>
            </div>
        </div>
    </nav>
    
    <!-- 主内容区 -->
    <div class="container main-container">
        <div class="row">
            <!-- 左侧主内容 -->
            <div class="col-lg-8">
                <!-- 需求详情卡片 -->
                <div class="card">
                    <div class="card-body">
                        <div class="demand-header">
                            <h1 class="demand-title">寻找专业摄影师拍摄产品宣传照</h1>
                            <span class="status-badge status-active">正在招募</span>
                        </div>
                        
                        <div class="author-info">
                            <img src="https://picsum.photos/100/100?random=10" alt="用户头像" class="author-avatar">
                            <div class="author-details">
                                <div class="author-name">摄影爱好者</div>
                                <div class="post-meta">
                                    <i class="far fa-clock me-1"></i> 发布于 2小时前 · 
                                    <i class="fas fa-map-marker-alt me-1"></i> 距离3.2公里
                                </div>
                            </div>
                            <button class="contact-btn">
                                <i class="fas fa-comment"></i> 联系发布者
                            </button>
                        </div>
                        
                        <!-- 图片展示区 -->
                        <div class="demand-gallery">
                            <img src="https://picsum.photos/800/600?random=20" alt="产品示例图" class="main-image" id="mainImage">
                            <div class="thumbnail-images">
                                <img src="https://picsum.photos/800/600?random=20" alt="缩略图1" class="thumbnail active" data-img="https://picsum.photos/800/600?random=20">
                                <img src="https://picsum.photos/800/600?random=21" alt="缩略图2" class="thumbnail" data-img="https://picsum.photos/800/600?random=21">
                                <img src="https://picsum.photos/800/600?random=22" alt="缩略图3" class="thumbnail" data-img="https://picsum.photos/800/600?random=22">
                                <img src="https://picsum.photos/800/600?random=23" alt="缩略图4" class="thumbnail" data-img="https://picsum.photos/800/600?random=23">
                            </div>
                        </div>
                        
                        <!-- 需求描述 -->
                        <div class="demand-description">
                            <p>我们是一家初创电商公司，需要为新上市的护肤品拍摄一组宣传照。要求摄影师有相关经验，能拍出产品的质感和细节。</p>
                            <p>具体需求：</p>
                            <ul>
                                <li>拍摄产品细节图、使用场景图、模特上镜图</li>
                                <li>需要提供后期修图服务</li>
                                <li>预计拍摄时间为1-2天</li>
                                <li>交付格式：高清JPG及原始素材</li>
                            </ul>
                            <p>有意向的摄影师请留言或直接联系我，最好能提供过往的类似作品供参考。预算可根据实际情况适当调整。</p>
                        </div>
                        
                        <!-- 需求标签 -->
                        <div class="tags-container">
                            <a href="#" class="tag">摄影</a>
                            <a href="#" class="tag">产品拍摄</a>
                            <a href="#" class="tag">商业摄影</a>
                            <a href="#" class="tag">护肤品</a>
                            <a href="#" class="tag">后期修图</a>
                        </div>
                        
                        <!-- 需求信息 -->
                        <div class="demand-meta">
                            <div class="meta-row">
                                <div class="meta-item">
                                    <div class="meta-label">需求分类</div>
                                    <div class="meta-value">生活服务 > 摄影摄像</div>
                                </div>
                                <div class="meta-item">
                                    <div class="meta-label">预算范围</div>
                                    <div class="meta-value">¥800 - ¥1200</div>
                                </div>
                            </div>
                            <div class="meta-row">
                                <div class="meta-item">
                                    <div class="meta-label">期望完成时间</div>
                                    <div class="meta-value">2023年6月30日前</div>
                                </div>
                                <div class="meta-item">
                                    <div class="meta-label">浏览次数</div>
                                    <div class="meta-value">245 次</div>
                                </div>
                            </div>
                            <div class="meta-row">
                                <div class="meta-item">
                                    <div class="meta-label">申请人数</div>
                                    <div class="meta-value">8 人</div>
                                </div>
                                <div class="meta-item">
                                    <div class="meta-label">发布者信誉</div>
                                    <div class="meta-value">
                                        <i class="fas fa-star text-warning"></i>
                                        <i class="fas fa-star text-warning"></i>
                                        <i class="fas fa-star text-warning"></i>
                                        <i class="fas fa-star text-warning"></i>
                                        <i class="fas fa-star-half-alt text-warning"></i>
                                        <span style="margin-left: 0.5rem;">4.5 (32条评价)</span>
                                    </div>
                                </div>
                            </div>
                        </div>
                        
                        <!-- 操作按钮 -->
                        <div class="action-buttons">
                            <button class="action-btn primary-action">
                                <i class="fas fa-hand-holding-heart"></i> 我能提供帮助
                            </button>
                            <button class="action-btn secondary-action">
                                <i class="fas fa-share-alt"></i> 分享
                            </button>
                            <button class="action-btn icon-action like-btn" id="likeBtn">
                                <i class="far fa-heart"></i>
                                <span>32</span>
                            </button>
                            <button class="action-btn icon-action save-btn" id="saveBtn">
                                <i class="far fa-bookmark"></i>
                            </button>
                            <button class="action-btn icon-action report-btn">
                                <i class="far fa-flag"></i>
                            </button>
                        </div>
                    </div>
                </div>
                
                <!-- 留言评论区 -->
                <div class="card comments-section">
                    <div class="card-header">
                        <div class="comments-header">
                            <h2 class="comments-title">留言与回复</h2>
                            <span class="comments-count">共 18 条留言</span>
                        </div>
                        
                        <!-- 评论输入框 -->
                        <div class="comment-form">
                            <div class="comment-input-container">
                                <img src="https://picsum.photos/100/100?random=1" alt="你的头像" class="comment-avatar">
                                <div class="comment-input">
                                    <textarea class="form-control" rows="3" placeholder="写下你的留言或建议..."></textarea>
                                    <button class="submit-comment">发布留言</button>
                                </div>
                            </div>
                        </div>
                    </div>
                    
                    <div class="card-body">
                        <div class="comment-list">
                            <!-- 评论1 -->
                            <div class="comment-item">
                                <div class="comment-header">
                                    <div class="comment-author">
                                        <img src="https://picsum.photos/100/100?random=30" alt="评论者头像" class="comment-avatar">
                                        <div>
                                            <div class="comment-author-name">专业摄影师小李</div>
                                            <div class="comment-time">1小时前</div>
                                        </div>
                                    </div>
                                </div>
                                <div class="comment-content">
                                    我有5年商业产品拍摄经验，尤其擅长护肤品和化妆品拍摄。可以提供专业的灯光设备和后期修图服务。请问具体需要拍摄多少款产品？是否需要提供模特？
                                </div>
                                <div class="comment-actions">
                                    <div class="comment-action like-comment" data-comment-id="1">
                                        <i class="far fa-heart"></i>
                                        <span>5</span>
                                    </div>
                                    <div class="comment-action reply-btn" data-comment-id="1">
                                        <i class="far fa-reply"></i>
                                        <span>回复</span>
                                    </div>
                                </div>
                                
                                <!-- 回复输入框 (默认隐藏) -->
                                <div class="reply-form" id="replyForm1" style="display: none;">
                                    <div class="comment-input-container">
                                        <img src="https://picsum.photos/100/100?random=1" alt="你的头像" class="comment-avatar">
                                        <div class="comment-input">
                                            <textarea class="form-control" rows="2" placeholder="回复 @专业摄影师小李..."></textarea>
                                            <button class="submit-comment" style="margin-right: 0.5rem;">回复</button>
                                            <button class="btn btn-secondary btn-sm cancel-reply" data-comment-id="1">取消</button>
                                        </div>
                                    </div>
                                </div>
                                
                                <!-- 回复列表 -->
                                <div class="replies-container">
                                    <div class="reply-item">
                                        <div class="comment-header">
                                            <div class="comment-author">
                                                <img src="https://picsum.photos/100/100?random=10" alt="发布者头像" class="comment-avatar">
                                                <div>
                                                    <div class="comment-author-name">摄影爱好者 <span style="color: var(--primary); font-size: 0.8rem;">(发布者)</span></div>
                                                    <div class="comment-time">45分钟前</div>
                                                </div>
                                            </div>
                                        </div>
                                        <div class="comment-content">
                                            @专业摄影师小李 您好！目前需要拍摄5款产品，模特我们可以自己提供，主要是需要拍出产品的质感和细节。能看看您之前的作品吗？
                                        </div>
                                        <div class="comment-actions">
                                            <div class="comment-action like-comment" data-comment-id="1-1">
                                                <i class="far fa-heart"></i>
                                                <span>2</span>
                                            </div>
                                            <div class="comment-action reply-btn" data-comment-id="1-1">
                                                <i class="far fa-reply"></i>
                                                <span>回复</span>
                                            </div>
                                        </div>
                                    </div>
                                    
                                    <div class="reply-item">
                                        <div class="comment-header">
                                            <div class="comment-author">
                                                <img src="https://picsum.photos/100/100?random=30" alt="评论者头像" class="comment-avatar">
                                                <div>
                                                    <div class="comment-author-name">专业摄影师小李</div>
                                                    <div class="comment-time">30分钟前</div>
                                                </div>
                                            </div>
                                        </div>
                                        <div class="comment-content">
                                            @摄影爱好者 当然可以，我的作品集链接：<a href="#" style="color: var(--primary);">www.photography-example.com</a>，里面有很多护肤品拍摄案例，您可以参考一下。
                                        </div>
                                        <div class="comment-actions">
                                            <div class="comment-action like-comment" data-comment-id="1-2">
                                                <i class="far fa-heart"></i>
                                                <span>1</span>
                                            </div>
                                            <div class="comment-action reply-btn" data-comment-id="1-2">
                                                <i class="far fa-reply"></i>
                                                <span>回复</span>
                                            </div>
                                        </div>
                                    </div>
                                </div>
                            </div>
                            
                            <!-- 评论2 -->
                            <div class="comment-item">
                                <div class="comment-header">
                                    <div class="comment-author">
                                        <img src="https://picsum.photos/100/100?random=31" alt="评论者头像" class="comment-avatar">
                                        <div>
                                            <div class="comment-author-name">视觉设计师小王</div>
                                            <div class="comment-time">2小时前</div>
                                        </div>
                                    </div>
                                </div>
                                <div class="comment-content">
                                    我是一名视觉设计师，也有产品拍摄经验。除了拍摄外，还可以帮你们设计宣传海报，打包服务价格更优惠。有兴趣可以聊聊~
                                </div>
                                <div class="comment-actions">
                                    <div class="comment-action like-comment" data-comment-id="2">
                                        <i class="far fa-heart"></i>
                                        <span>3</span>
                                    </div>
                                    <div class="comment-action reply-btn" data-comment-id="2">
                                        <i class="far fa-reply"></i>
                                        <span>回复</span>
                                    </div>
                                </div>
                                
                                <!-- 回复输入框 (默认隐藏) -->
                                <div class="reply-form" id="replyForm2" style="display: none;">
                                    <div class="comment-input-container">
                                        <img src="https://picsum.photos/100/100?random=1" alt="你的头像" class="comment-avatar">
                                        <div class="comment-input">
                                            <textarea class="form-control" rows="2" placeholder="回复 @视觉设计师小王..."></textarea>
                                            <button class="submit-comment" style="margin-right: 0.5rem;">回复</button>
                                            <button class="btn btn-secondary btn-sm cancel-reply" data-comment-id="2">取消</button>
                                        </div>
                                    </div>
                                </div>
                            </div>
                            
                            <!-- 评论3 -->
                            <div class="comment-item">
                                <div class="comment-header">
                                    <div class="comment-author">
                                        <img src="https://picsum.photos/100/100?random=32" alt="评论者头像" class="comment-avatar">
                                        <div>
                                            <div class="comment-author-name">自由摄影师小张</div>
                                            <div class="comment-time">2小时前</div>
                                        </div>
                                    </div>
                                </div>
                                <div class="comment-content">
                                    我可以接这个单子，设备齐全，有专业的影棚。请问具体拍摄日期大概在什么时候？我需要提前安排时间。
                                </div>
                                <div class="comment-actions">
                                    <div class="comment-action like-comment" data-comment-id="3">
                                        <i class="fas fa-heart liked"></i>
                                        <span>8</span>
                                    </div>
                                    <div class="comment-action reply-btn" data-comment-id="3">
                                        <i class="far fa-reply"></i>
                                        <span>回复</span>
                                    </div>
                                </div>
                                
                                <!-- 回复输入框 (默认隐藏) -->
                                <div class="reply-form" id="replyForm3" style="display: none;">
                                    <div class="comment-input-container">
                                        <img src="https://picsum.photos/100/100?random=1" alt="你的头像" class="comment-avatar">
                                        <div class="comment-input">
                                            <textarea class="form-control" rows="2" placeholder="回复 @自由摄影师小张..."></textarea>
                                            <button class="submit-comment" style="margin-right: 0.5rem;">回复</button>
                                            <button class="btn btn-secondary btn-sm cancel-reply" data-comment-id="3">取消</button>
                                        </div>
                                    </div>
                                </div>
                            </div>
                        </div>
                        
                        <!-- 加载更多评论 -->
                        <button class="btn btn-outline-primary w-100" id="loadMoreComments">
                            <i class="fas fa-comment-alt me-1"></i> 加载更多评论
                        </button>
                    </div>
                </div>
            </div>
            
            <!-- 右侧边栏 -->
            <div class="col-lg-4">
                <!-- 发布者信息卡片 -->
                <div class="card">
                    <div class="card-header">
                        <h3 style="font-size: 1.25rem; font-weight: 600;">发布者信息</h3>
                    </div>
                    <div class="card-body">
                        <div class="author-info">
                            <img src="https://picsum.photos/100/100?random=10" alt="用户头像" class="author-avatar">
                            <div class="author-details">
                                <div class="author-name">摄影爱好者</div>
                                <div style="color: var(--gray); font-size: 0.9rem;">
                                    注册时间: 2022年3月
                                </div>
                            </div>
                        </div>
                        
                        <div style="margin: 1rem 0;">
                            <div style="display: flex; justify-content: space-between; margin-bottom: 0.5rem;">
                                <span style="color: var(--gray);">信誉评分</span>
                                <span>4.5 <i class="fas fa-star text-warning"></i></span>
                            </div>
                            <div class="progress" style="height: 8px;">
                                <div class="progress-bar" role="progressbar" style="width: 90%; background-color: var(--primary);" aria-valuenow="90" aria-valuemin="0" aria-valuemax="100"></div>
                            </div>
                            <div style="text-align: right; font-size: 0.85rem; color: var(--gray); margin-top: 0.25rem;">
                                32条评价
                            </div>
                        </div>
                        
                        <div style="margin-bottom: 1.5rem;">
                            <div style="font-weight: 500; margin-bottom: 0.5rem;">发布过的需求</div>
                            <div style="color: var(--gray);">共 8 个需求</div>
                        </div>
                        
                        <button class="contact-btn w-100">
                            <i class="fas fa-comment-dots"></i> 发送消息
                        </button>
                    </div>
                </div>
                
                <!-- 相关需求推荐 -->
                <div class="similar-demands">
                    <h3 class="similar-title">类似需求推荐</h3>
                    <div class="similar-cards">
                        <div class="card similar-card">
                            <img src="https://picsum.photos/400/300?random=40" alt="相关需求图片" class="similar-image">
                            <div class="similar-content">
                                <div class="similar-card-title">寻找服装产品拍摄师，长期合作</div>
                                <div class="similar-meta">
                                    <span><i class="fas fa-money-bill-wave me-1"></i> ¥1500</span>
                                    <span><i class="far fa-clock me-1"></i> 3天前</span>
                                </div>
                            </div>
                        </div>
                        
                        <div class="card similar-card">
                            <img src="https://picsum.photos/400/300?random=41" alt="相关需求图片" class="similar-image">
                            <div class="similar-content">
                                <div class="similar-card-title">食品摄影服务，需要专业器材</div>
                                <div class="similar-meta">
                                    <span><i class="fas fa-money-bill-wave me-1"></i> ¥1000</span>
                                    <span><i class="far fa-clock me-1"></i> 1周前</span>
                                </div>
                            </div>
                        </div>
                        
                        <div class="card similar-card">
                            <img src="https://picsum.photos/400/300?random=42" alt="相关需求图片" class="similar-image">
                            <div class="similar-content">
                                <div class="similar-card-title">产品宣传视频拍摄与剪辑</div>
                                <div class="similar-meta">
                                    <span><i class="fas fa-money-bill-wave me-1"></i> ¥3000</span>
                                    <span><i class="far fa-clock me-1"></i> 2周前</span>
                                </div>
                            </div>
                        </div>
                    </div>
                </div>
            </div>
        </div>
    </div>
    
    <script src="https://cdn.jsdelivr.net/npm/bootstrap@5.3.0/dist/js/bootstrap.bundle.min.js"></script>
    <script>
        document.addEventListener('DOMContentLoaded', function() {
            // 图片画廊切换功能
            const thumbnails = document.querySelectorAll('.thumbnail');
            const mainImage = document.getElementById('mainImage');
            
            thumbnails.forEach(thumbnail => {
                thumbnail.addEventListener('click', function() {
                    // 更新主图
                    mainImage.src = this.dataset.img;
                    
                    // 更新缩略图活跃状态
                    thumbnails.forEach(thumb => thumb.classList.remove('active'));
                    this.classList.add('active');
                });
            });
            
            // 点赞功能
            const likeBtn = document.getElementById('likeBtn');
            likeBtn.addEventListener('click', function() {
                this.classList.toggle('liked');
                const icon = this.querySelector('i');
                const count = this.querySelector('span');
                let currentCount = parseInt(count.textContent);
                
                if (this.classList.contains('liked')) {
                    icon.classList.remove('far');
                    icon.classList.add('fas');
                    count.textContent = currentCount + 1;
                } else {
                    icon.classList.remove('fas');
                    icon.classList.add('far');
                    count.textContent = currentCount - 1;
                }
            });
            
            // 收藏功能
            const saveBtn = document.getElementById('saveBtn');
            saveBtn.addEventListener('click', function() {
                this.classList.toggle('saved');
                const icon = this.querySelector('i');
                
                if (this.classList.contains('saved')) {
                    icon.classList.remove('far');
                    icon.classList.add('fas');
                } else {
                    icon.classList.remove('fas');
                    icon.classList.add('far');
                }
            });
            
            // 举报功能
            const reportBtn = document.querySelector('.report-btn');
            reportBtn.addEventListener('click', function() {
                if (confirm('您确定要举报这个需求吗？举报原因可能包括：垃圾信息、欺诈、不适当内容等。')) {
                    alert('举报已提交，我们会尽快处理。');
                }
            });
            
            // 评论回复功能
            const replyBtns = document.querySelectorAll('.reply-btn');
            replyBtns.forEach(btn => {
                btn.addEventListener('click', function() {
                    const commentId = this.dataset.commentId;
                    const replyForm = document.getElementById(`replyForm${commentId}`);
                    
                    // 隐藏所有回复框
                    document.querySelectorAll('.reply-form').forEach(form => {
                        form.style.display = 'none';
                    });
                    
                    // 显示当前回复框
                    replyForm.style.display = 'block';
                    replyForm.querySelector('textarea').focus();
                });
            });
            
            // 取消回复功能
            const cancelReplyBtns = document.querySelectorAll('.cancel-reply');
            cancelReplyBtns.forEach(btn => {
                btn.addEventListener('click', function() {
                    const commentId = this.dataset.commentId;
                    const replyForm = document.getElementById(`replyForm${commentId}`);
                    replyForm.style.display = 'none';
                });
            });
            
            // 评论点赞功能
            const likeCommentBtns = document.querySelectorAll('.like-comment');
            likeCommentBtns.forEach(btn => {
                btn.addEventListener('click', function() {
                    this.classList.toggle('liked');
                    const icon = this.querySelector('i');
                    const count = this.querySelector('span');
                    let currentCount = parseInt(count.textContent);
                    
                    if (this.classList.contains('liked')) {
                        icon.classList.remove('far');
                        icon.classList.add('fas');
                        count.textContent = currentCount + 1;
                    } else {
                        icon.classList.remove('fas');
                        icon.classList.add('far');
                        count.textContent = currentCount - 1;
                    }
                });
            });
            
            // 加载更多评论
            const loadMoreCommentsBtn = document.getElementById('loadMoreComments');
            loadMoreCommentsBtn.addEventListener('click', function() {
                this.innerHTML = '<i class="fas fa-spinner fa-spin me-1"></i> 加载中...';
                
                // 模拟加载延迟
                setTimeout(() => {
                    this.innerHTML = '<i class="fas fa-comment-alt me-1"></i> 没有更多评论了';
                    this.disabled = true;
                    this.classList.add('btn-secondary');
                    this.classList.remove('btn-outline-primary');
                }, 1500);
            });
        });
    </script>
</body>
</html>
    
